package com.qf.dao;

import com.qf.pojo.CartItem;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface CartDao {
    Long findCountByUidAndPid(String pid,long uid);
    void addCart(String pid,long uid,int num);
    int updateNum(String pid,long uid,int num);
    List<CartItem> findCartByUid(long uid);
}
